package com.itcncp.wechat.app.dao.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class ItcsRoadInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ItcsRoadInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTollRoadIdIsNull() {
            addCriterion("toll_road_id is null");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdIsNotNull() {
            addCriterion("toll_road_id is not null");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdEqualTo(String value) {
            addCriterion("toll_road_id =", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotEqualTo(String value) {
            addCriterion("toll_road_id <>", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdGreaterThan(String value) {
            addCriterion("toll_road_id >", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdGreaterThanOrEqualTo(String value) {
            addCriterion("toll_road_id >=", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLessThan(String value) {
            addCriterion("toll_road_id <", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLessThanOrEqualTo(String value) {
            addCriterion("toll_road_id <=", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdLike(String value) {
            addCriterion("toll_road_id like", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotLike(String value) {
            addCriterion("toll_road_id not like", value, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdIn(List<String> values) {
            addCriterion("toll_road_id in", values, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotIn(List<String> values) {
            addCriterion("toll_road_id not in", values, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdBetween(String value1, String value2) {
            addCriterion("toll_road_id between", value1, value2, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andTollRoadIdNotBetween(String value1, String value2) {
            addCriterion("toll_road_id not between", value1, value2, "tollRoadId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("level is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("level is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Byte value) {
            addCriterion("level =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Byte value) {
            addCriterion("level <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Byte value) {
            addCriterion("level >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Byte value) {
            addCriterion("level >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Byte value) {
            addCriterion("level <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Byte value) {
            addCriterion("level <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Byte> values) {
            addCriterion("level in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Byte> values) {
            addCriterion("level not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Byte value1, Byte value2) {
            addCriterion("level between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Byte value1, Byte value2) {
            addCriterion("level not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andStartSiteIsNull() {
            addCriterion("start_site is null");
            return (Criteria) this;
        }

        public Criteria andStartSiteIsNotNull() {
            addCriterion("start_site is not null");
            return (Criteria) this;
        }

        public Criteria andStartSiteEqualTo(String value) {
            addCriterion("start_site =", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteNotEqualTo(String value) {
            addCriterion("start_site <>", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteGreaterThan(String value) {
            addCriterion("start_site >", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteGreaterThanOrEqualTo(String value) {
            addCriterion("start_site >=", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteLessThan(String value) {
            addCriterion("start_site <", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteLessThanOrEqualTo(String value) {
            addCriterion("start_site <=", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteLike(String value) {
            addCriterion("start_site like", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteNotLike(String value) {
            addCriterion("start_site not like", value, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteIn(List<String> values) {
            addCriterion("start_site in", values, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteNotIn(List<String> values) {
            addCriterion("start_site not in", values, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteBetween(String value1, String value2) {
            addCriterion("start_site between", value1, value2, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartSiteNotBetween(String value1, String value2) {
            addCriterion("start_site not between", value1, value2, "startSite");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumIsNull() {
            addCriterion("start_stake_num is null");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumIsNotNull() {
            addCriterion("start_stake_num is not null");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumEqualTo(String value) {
            addCriterion("start_stake_num =", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumNotEqualTo(String value) {
            addCriterion("start_stake_num <>", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumGreaterThan(String value) {
            addCriterion("start_stake_num >", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumGreaterThanOrEqualTo(String value) {
            addCriterion("start_stake_num >=", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumLessThan(String value) {
            addCriterion("start_stake_num <", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumLessThanOrEqualTo(String value) {
            addCriterion("start_stake_num <=", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumLike(String value) {
            addCriterion("start_stake_num like", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumNotLike(String value) {
            addCriterion("start_stake_num not like", value, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumIn(List<String> values) {
            addCriterion("start_stake_num in", values, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumNotIn(List<String> values) {
            addCriterion("start_stake_num not in", values, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumBetween(String value1, String value2) {
            addCriterion("start_stake_num between", value1, value2, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartStakeNumNotBetween(String value1, String value2) {
            addCriterion("start_stake_num not between", value1, value2, "startStakeNum");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeIsNull() {
            addCriterion("start_latitude is null");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeIsNotNull() {
            addCriterion("start_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeEqualTo(BigDecimal value) {
            addCriterion("start_latitude =", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("start_latitude <>", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeGreaterThan(BigDecimal value) {
            addCriterion("start_latitude >", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("start_latitude >=", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeLessThan(BigDecimal value) {
            addCriterion("start_latitude <", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("start_latitude <=", value, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeIn(List<BigDecimal> values) {
            addCriterion("start_latitude in", values, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("start_latitude not in", values, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("start_latitude between", value1, value2, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("start_latitude not between", value1, value2, "startLatitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeIsNull() {
            addCriterion("start_longitude is null");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeIsNotNull() {
            addCriterion("start_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeEqualTo(BigDecimal value) {
            addCriterion("start_longitude =", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("start_longitude <>", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeGreaterThan(BigDecimal value) {
            addCriterion("start_longitude >", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("start_longitude >=", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeLessThan(BigDecimal value) {
            addCriterion("start_longitude <", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("start_longitude <=", value, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeIn(List<BigDecimal> values) {
            addCriterion("start_longitude in", values, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("start_longitude not in", values, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("start_longitude between", value1, value2, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("start_longitude not between", value1, value2, "startLongitude");
            return (Criteria) this;
        }

        public Criteria andStartStationidIsNull() {
            addCriterion("start_stationId is null");
            return (Criteria) this;
        }

        public Criteria andStartStationidIsNotNull() {
            addCriterion("start_stationId is not null");
            return (Criteria) this;
        }

        public Criteria andStartStationidEqualTo(String value) {
            addCriterion("start_stationId =", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidNotEqualTo(String value) {
            addCriterion("start_stationId <>", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidGreaterThan(String value) {
            addCriterion("start_stationId >", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidGreaterThanOrEqualTo(String value) {
            addCriterion("start_stationId >=", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidLessThan(String value) {
            addCriterion("start_stationId <", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidLessThanOrEqualTo(String value) {
            addCriterion("start_stationId <=", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidLike(String value) {
            addCriterion("start_stationId like", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidNotLike(String value) {
            addCriterion("start_stationId not like", value, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidIn(List<String> values) {
            addCriterion("start_stationId in", values, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidNotIn(List<String> values) {
            addCriterion("start_stationId not in", values, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidBetween(String value1, String value2) {
            addCriterion("start_stationId between", value1, value2, "startStationid");
            return (Criteria) this;
        }

        public Criteria andStartStationidNotBetween(String value1, String value2) {
            addCriterion("start_stationId not between", value1, value2, "startStationid");
            return (Criteria) this;
        }

        public Criteria andEndSiteIsNull() {
            addCriterion("end_site is null");
            return (Criteria) this;
        }

        public Criteria andEndSiteIsNotNull() {
            addCriterion("end_site is not null");
            return (Criteria) this;
        }

        public Criteria andEndSiteEqualTo(String value) {
            addCriterion("end_site =", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteNotEqualTo(String value) {
            addCriterion("end_site <>", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteGreaterThan(String value) {
            addCriterion("end_site >", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteGreaterThanOrEqualTo(String value) {
            addCriterion("end_site >=", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteLessThan(String value) {
            addCriterion("end_site <", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteLessThanOrEqualTo(String value) {
            addCriterion("end_site <=", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteLike(String value) {
            addCriterion("end_site like", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteNotLike(String value) {
            addCriterion("end_site not like", value, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteIn(List<String> values) {
            addCriterion("end_site in", values, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteNotIn(List<String> values) {
            addCriterion("end_site not in", values, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteBetween(String value1, String value2) {
            addCriterion("end_site between", value1, value2, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndSiteNotBetween(String value1, String value2) {
            addCriterion("end_site not between", value1, value2, "endSite");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumIsNull() {
            addCriterion("end_stake_num is null");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumIsNotNull() {
            addCriterion("end_stake_num is not null");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumEqualTo(String value) {
            addCriterion("end_stake_num =", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumNotEqualTo(String value) {
            addCriterion("end_stake_num <>", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumGreaterThan(String value) {
            addCriterion("end_stake_num >", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumGreaterThanOrEqualTo(String value) {
            addCriterion("end_stake_num >=", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumLessThan(String value) {
            addCriterion("end_stake_num <", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumLessThanOrEqualTo(String value) {
            addCriterion("end_stake_num <=", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumLike(String value) {
            addCriterion("end_stake_num like", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumNotLike(String value) {
            addCriterion("end_stake_num not like", value, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumIn(List<String> values) {
            addCriterion("end_stake_num in", values, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumNotIn(List<String> values) {
            addCriterion("end_stake_num not in", values, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumBetween(String value1, String value2) {
            addCriterion("end_stake_num between", value1, value2, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndStakeNumNotBetween(String value1, String value2) {
            addCriterion("end_stake_num not between", value1, value2, "endStakeNum");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeIsNull() {
            addCriterion("end_latitude is null");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeIsNotNull() {
            addCriterion("end_latitude is not null");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeEqualTo(BigDecimal value) {
            addCriterion("end_latitude =", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeNotEqualTo(BigDecimal value) {
            addCriterion("end_latitude <>", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeGreaterThan(BigDecimal value) {
            addCriterion("end_latitude >", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("end_latitude >=", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeLessThan(BigDecimal value) {
            addCriterion("end_latitude <", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("end_latitude <=", value, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeIn(List<BigDecimal> values) {
            addCriterion("end_latitude in", values, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeNotIn(List<BigDecimal> values) {
            addCriterion("end_latitude not in", values, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_latitude between", value1, value2, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_latitude not between", value1, value2, "endLatitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeIsNull() {
            addCriterion("end_longitude is null");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeIsNotNull() {
            addCriterion("end_longitude is not null");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeEqualTo(BigDecimal value) {
            addCriterion("end_longitude =", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeNotEqualTo(BigDecimal value) {
            addCriterion("end_longitude <>", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeGreaterThan(BigDecimal value) {
            addCriterion("end_longitude >", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("end_longitude >=", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeLessThan(BigDecimal value) {
            addCriterion("end_longitude <", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("end_longitude <=", value, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeIn(List<BigDecimal> values) {
            addCriterion("end_longitude in", values, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeNotIn(List<BigDecimal> values) {
            addCriterion("end_longitude not in", values, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_longitude between", value1, value2, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("end_longitude not between", value1, value2, "endLongitude");
            return (Criteria) this;
        }

        public Criteria andEndStationidIsNull() {
            addCriterion("end_stationId is null");
            return (Criteria) this;
        }

        public Criteria andEndStationidIsNotNull() {
            addCriterion("end_stationId is not null");
            return (Criteria) this;
        }

        public Criteria andEndStationidEqualTo(String value) {
            addCriterion("end_stationId =", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidNotEqualTo(String value) {
            addCriterion("end_stationId <>", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidGreaterThan(String value) {
            addCriterion("end_stationId >", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidGreaterThanOrEqualTo(String value) {
            addCriterion("end_stationId >=", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidLessThan(String value) {
            addCriterion("end_stationId <", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidLessThanOrEqualTo(String value) {
            addCriterion("end_stationId <=", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidLike(String value) {
            addCriterion("end_stationId like", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidNotLike(String value) {
            addCriterion("end_stationId not like", value, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidIn(List<String> values) {
            addCriterion("end_stationId in", values, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidNotIn(List<String> values) {
            addCriterion("end_stationId not in", values, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidBetween(String value1, String value2) {
            addCriterion("end_stationId between", value1, value2, "endStationid");
            return (Criteria) this;
        }

        public Criteria andEndStationidNotBetween(String value1, String value2) {
            addCriterion("end_stationId not between", value1, value2, "endStationid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}